#ifndef DBCONNHELPER_H
#define DBCONNHELPER_H
#include <QSqlDatabase>


/**
 * @brief 访问数据库的简单工具类
 */
class DbConnHelper
{
public:
    DbConnHelper();

public:
    QSqlDatabase  openDataBase(QString connectionnName,QString Table);
    void closeDataBase(QString connectionName);
private:


    QSqlDatabase db;
};

#endif // DBCONNHELPER_H
